<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统设置 - 消防大模型应用平台</title>
    <!-- Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- Element Plus -->
    <link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css">
    <script src="https://unpkg.com/element-plus"></script>
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        .sidebar {
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            width: 250px;
            background: #1a237e;
            color: white;
            padding: 20px;
        }
        .main-content {
            margin-left: 250px;
            padding: 20px;
        }
    </style>
</head>
<body class="bg-gray-100">
    <!-- 侧边栏 -->
    <div class="sidebar">
        <div class="text-2xl font-bold mb-8">
            <i class="fas fa-fire-extinguisher mr-2"></i>
            消防大模型平台
        </div>
        <nav>
            <ul class="space-y-4">
                <li>
                    <a href="dashboard.html" class="flex items-center text-white hover:text-blue-300">
                        <i class="fas fa-home w-6"></i>
                        <span>控制台</span>
                    </a>
                </li>
                <li>
                    <a href="knowledge.html" class="flex items-center text-white hover:text-blue-300">
                        <i class="fas fa-book w-6"></i>
                        <span>知识库</span>
                    </a>
                </li>
                <li>
                    <a href="report.html" class="flex items-center text-white hover:text-blue-300">
                        <i class="fas fa-file-alt w-6"></i>
                        <span>报告生成</span>
                    </a>
                </li>
                <li>
                    <a href="analysis.html" class="flex items-center text-white hover:text-blue-300">
                        <i class="fas fa-chart-line w-6"></i>
                        <span>分析工具</span>
                    </a>
                </li>
                <li>
                    <a href="settings.html" class="flex items-center text-white bg-blue-800 rounded-lg">
                        <i class="fas fa-cog w-6"></i>
                        <span>系统设置</span>
                    </a>
                </li>
            </ul>
        </nav>
    </div>

    <!-- 主要内容区 -->
    <div class="main-content">
        <div class="bg-white rounded-lg shadow-lg p-6">
            <h1 class="text-2xl font-bold mb-6">系统设置</h1>

            <!-- 设置导航 -->
            <div class="flex space-x-4 mb-6 border-b">
                <button class="px-4 py-2 text-blue-500 border-b-2 border-blue-500">个人信息</button>
                <button class="px-4 py-2 text-gray-500 hover:text-blue-500">账号安全</button>
                <button class="px-4 py-2 text-gray-500 hover:text-blue-500">通知设置</button>
                <button class="px-4 py-2 text-gray-500 hover:text-blue-500">系统配置</button>
            </div>

            <!-- 个人信息设置 -->
            <div class="space-y-6">
                <!-- 头像设置 -->
                <div class="flex items-center space-x-6">
                    <div class="w-24 h-24 bg-gray-200 rounded-full flex items-center justify-center">
                        <i class="fas fa-user text-4xl text-gray-400"></i>
                    </div>
                    <div>
                        <button class="bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600">
                            更换头像
                        </button>
                        <p class="text-sm text-gray-500 mt-2">支持 jpg、png 格式，大小不超过 2MB</p>
                    </div>
                </div>

                <!-- 基本信息 -->
                <div class="space-y-4">
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">用户名</label>
                        <input type="text" class="w-full px-4 py-2 border rounded-lg" value="admin">
                    </div>
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">姓名</label>
                        <input type="text" class="w-full px-4 py-2 border rounded-lg" value="管理员">
                    </div>
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">邮箱</label>
                        <input type="email" class="w-full px-4 py-2 border rounded-lg" value="admin@example.com">
                    </div>
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">手机号</label>
                        <input type="tel" class="w-full px-4 py-2 border rounded-lg" value="13800138000">
                    </div>
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">所属部门</label>
                        <select class="w-full px-4 py-2 border rounded-lg">
                            <option>消防大队</option>
                            <option>事故调查科</option>
                            <option>技术科</option>
                        </select>
                    </div>
                </div>

                <!-- 保存按钮 -->
                <div class="flex justify-end">
                    <button class="bg-blue-500 text-white px-6 py-2 rounded-lg hover:bg-blue-600">
                        保存修改
                    </button>
                </div>
            </div>
        </div>

        <!-- 系统信息 -->
        <div class="bg-white rounded-lg shadow-lg p-6 mt-6">
            <h2 class="text-xl font-bold mb-4">系统信息</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                <div>
                    <p class="text-gray-500">系统版本</p>
                    <p class="font-medium">v1.0.0</p>
                </div>
                <div>
                    <p class="text-gray-500">最后更新</p>
                    <p class="font-medium">2024-03-15</p>
                </div>
                <div>
                    <p class="text-gray-500">服务器状态</p>
                    <p class="font-medium text-green-500">正常运行</p>
                </div>
                <div>
                    <p class="text-gray-500">数据库状态</p>
                    <p class="font-medium text-green-500">正常连接</p>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 